import Layout from '@/layout'
const formRouter = {
  path: '/form',
  component: Layout,
  redirect: 'noRedirect',
  name: 'form',
  meta: {
    title: 'form',
    icon: 'el-icon-document'
  },
  children: [
    {
      path: 'templateList',
      component: () => import('@/views/form/design/list'),
      name: 'templateList',
      meta: { title: '表单模板', noCache: true }
    },
    {
      path: 'itemInstanceList',
      component: () => import('@/views/form/instance/list'),
      name: 'itemInstanceList',
      meta: { title: '表单实例', noCache: true },
      hidden: true
    },
    {
      path: 'templateFrame',
      component: () => import('@/views/form/design/templateFrame'),
      name: 'templateFrame',
      hidden: true,
      meta: { title: '表单模板', noCache: true }
    }
  ]
}
export default formRouter
